package com.lizardmind.haofudoctor.ui.studio

import android.os.Bundle
import android.view.View
import com.linxiao.framework.activity.BaseActivity
import com.linxiao.framework.util.getDataBinding
import com.linxiao.framework.util.toasts
import com.lizardmind.haofudoctor.R
import com.lizardmind.haofudoctor.databinding.ActivityIncomeManageBinding
import kotlinx.android.synthetic.main.activity_income_manage.*
import kotlinx.android.synthetic.main.include_title_text.*
import org.jetbrains.anko.sdk25.coroutines.onClick

/**
 * 收入管理
 */
class IncomeManageActivity : BaseActivity() {

    val binding by lazy { getDataBinding<ActivityIncomeManageBinding>(R.layout.activity_income_manage) }
    override fun onCreatRootView(): View? {
        return binding.root
    }

    override fun onInitView(savedInstanceState: Bundle?) {
        imgLeft.setImageResource(R.mipmap.back)
        imgLeft.onClick { finish() }
        imgRight.setImageResource(R.mipmap.back)
        imgRight.onClick { toasts("开发中...") }
        titleText.text="收入管理"
        tvMoneyOut.onClick { toasts("提现") }
    }

}
